<ion-view set-dom>
    <ion-header-bar ng-show="!isSearch" align-title="center" class="com-header bg-f7 border-1px-ccc">
        <div class="buttons">
            <button ng-click="back()" class="button fs-0"><i class="icon ion-ios-arrow-back color-333 fs-18"></i>
            </button>
        </div>
        <h1 class="title">卡券详情</h1>
    </ion-header-bar>
    <ion-content class="bg-white" overflow-scroll="false" scrollbar-y="false" has-bouncing="false">
        <div class="w-50 h-50 text-right coupon-tips" ng-click="toggleShow()">
            <span class="fs-14 color-white lh-38 pr-5" ng-show="couponState==1">卡密</span>
            <span class="fs-14 color-white lh-38 pr-5" ng-show="couponState==2">扫码</span>
            <div class="bg-ioy-blue w-90 h-90" style="top: -45px;right: -45px;"></div>
        </div>
        <div class="pt-30 text-center">
            <h2 class="fs-14 color-333">小邓汽车美容连锁店</h2>
            <p class="fs-16 color-999 mt-15">100元优惠券xxxxxxx</p>
            <div class="h-200 mt-35" ng-show="couponState==1">
                <img class="h-200" src="/car_customer/asset/car_customer/images/icon/i_code.png" alt="">
            </div>
            <div class="h-200 pt-35 mt-35 pl-40 pr-40" ng-show="couponState==2">
                <div class="h-130 bg-f7 pt-25">
                    <p class="fs-14 color-333">请将卡密出示给工作人员核销</p>
                    <p class="fs-20 color-blue mt-25">2017 0706 1607 3715 78</p>
                </div>
            </div>
            <p class="fs-12 color-333 mt-30">有效期：2017/10/31 - 2017/10/31（周一至周五）</p>
            <p class="fs-12 color-333 mt-20">使用说明：可抵扣小邓汽车美容连锁店美容保养费用</p>
        </div>
    </ion-content>
</ion-view>